import 'dart:io';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:scanner/config/wj_color.dart';


class WJThemes {
  static ThemeData get normal => ThemeData(
    fontFamily: Platform.isIOS ? "PingFang SC" : null,
    brightness: Brightness.light,
    primaryColor: WJColor.appColor,
    scaffoldBackgroundColor: WJColor.pageColor,
    cardColor: Colors.white,
    splashColor: Colors.transparent,
    highlightColor: Colors.transparent,
    dividerColor: const Color(0xFFF6F6F6),

    appBarTheme: const AppBarTheme(
      elevation: 0,
      color: Colors.white,
      systemOverlayStyle: SystemUiOverlayStyle(statusBarColor:Colors.black,statusBarIconBrightness: Brightness.light),
      iconTheme: IconThemeData(color: Colors.white),
    ),
    bottomAppBarTheme: const BottomAppBarTheme(
      color: Colors.white,
      elevation: 0,
    ),
    dividerTheme: const DividerThemeData(
      color: Color(0xFFF6F6F6),
      space: 0.5,
      thickness: 0.5,
    ),
    buttonTheme: const ButtonThemeData(
        padding: EdgeInsets.zero, minWidth: 0, height: 0, materialTapTargetSize: MaterialTapTargetSize.shrinkWrap),
    bottomSheetTheme: const BottomSheetThemeData(backgroundColor: Colors.transparent),
  );

}